<?php 
class indexClassAction extends ActionManage
{
	
	public function defaultAction()
	{
		
	}
	
	public function totalAction()
	{
		$where = '`cid`='.$this->companyid.'';
		
		return array(
			'dshu' => m('dept')->rows($where),
			'ushu' => m('usera')->rows($where),
			'agent' => m('agent')->rows($where),
		);
	}
}